package thread.interrupt;

public class Client {

    public static void main(String[] args){
        System.out.println("当前的正在运行的主线程是："+Thread.currentThread().getName());



      Thread thread1 =   new Thread(new ThreadA());
      thread1.start();
      thread1.interrupt();
      System.out.println("子线程被打断了，但是我主线程继续执行了");

        /**线程进行打断*/

    }

}
